package k2_oop.p1_classAndObject.demo02;

public class TestDemo2 {

    public static void main(String[] args) {

        Calculator calculator = new Calculator();

//        System.out.println(calculator.plus(10, 20));
//
//        System.out.println(calculator.plus(1, 2, 3));
//
//        System.out.println(calculator.plus(1, 2, 3, 4, 5, 6, 7, 8, 9, 10,100,200));
//
//        System.out.println(calculator.minus(100, 50));
//        System.out.println(calculator.multiply(1, 2, 3, 4, 5, 6));
//        System.out.println(calculator.divide(100, 3));

        System.out.println(calculator.square(10));
        System.out.println(calculator.power(2, 3));


    }
}
